package com.ilibrary.web.action;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import com.ilibrary.base.MyBaseAction;
import com.ilibrary.base.MyWebAction;
import com.ilibrary.service.AdminService;
import com.ilibrary.service.UserInfoService;
import com.ilibrary.web.dto.ResultDto;
import com.ilibrary.web.vo.AdminVO;

public class LoginAction extends MyWebAction {
	
	private AdminService adminService;
	private UserInfoService userInfoService;

	public AdminService getAdminService() {
		return adminService;
	}
	public void setAdminService(AdminService adminService) {
		this.adminService = adminService;
	}
	public UserInfoService getUserInfoService() {
		return userInfoService;
	}
	public void setUserInfoService(UserInfoService userInfoService) {
		this.userInfoService = userInfoService;
	}
	@Override
	protected String doExecute(HttpServletRequest request, HttpServletResponse response, HttpSession session) {
		logger.info("info");
		//ResultDto<AdminVO> resultDto = adminService.findAll();
		//request.setAttribute("adminList", resultDto.getResultList());
		return SUCCESS;
	}
	
}
